3D Repeat
Repeat the same 3D mesh multiple times.
Node Data | |
|---|---|
Display name | |
3D Repeat | |
Internal name | |
Node_3D_Repeat | |
Inheritances | |
| Node_3D | |
| Node_3D_Repeat | |
Inputs | |
Node_3D_Repeat | |
seed |
|
d3mesh |
Objects |
vec3 |
Starting Position |
quaternion |
Starting Rotation |
vec3 |
Starting Scale |
enum |
Object Type |
enum |
Pattern |
int |
Amount |
ivec3 |
Grid |
float |
Radius |
slider |
Look At Center |
pathnode |
Shift Path |
slider |
Follow Path |
vec3 |
Positions |
vec3 |
Rotations |
vec3 |
Scales |
vec3 |
Shift Position |
vec3 |
Shift Position Y |
vec3 |
Shift Position Z |
quaternion |
Shift Rotation |
vec3 |
Shift Scale |
bool |
Scale Uniform |
vec3_range |
Position Scatter |
vec3_range |
Rotation Scatter |
vec3_range |
Scale Scatter |
Outputs | |
Node_3D_Repeat | |
d3scene |
Scene |
3D repeat allows you to create clones of the object with different transformations.
Direct vs. Compound Transformations
The transformations of each instances are controlled by 2 values, direct and compound.
The direct value apply directly to each object based on its index, there are set by the Positions, Rotations, and Scales properties.
The compound value multiply per each index, e.g. the second object will tranform twice as much as the first object, the compound values are controlled by the Shift Position, Shift Rotation, and Shift Scale properties.
Both direct and compound transformations are added to create the final transformations.
Object Mode
The repeat amount can be set in the Object Mode property. Duplicate mode will allows you to set the amount dierctly. Array mode will set the amount to match the Positions, Rotations, and Scales array.
Related Links
- Base Code: /scripts/node_3d_repeat/node_3d_repeat.gml